﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Guoc.BigMall.WebService.Dto
{
   public class SaleOrderCreateDto
    {    
        public int OrderId { get; set; }
        /// <summary>
        /// 推荐人ID
        /// </summary>
        public int ReferMemberId { get; set; }

        public int PaymentWay { get; set; }
        /// <summary>
        ///  收货地址Id
        /// </summary>
        public int MemberAddressId { get; set; }

        public string Remark { get; set; }


        [Required(ErrorMessage = "开卡号码不能为空")]
        /// <summary>
        /// 分销单信息： 办卡电话
        /// </summary>
        public string Phone { get; set; }
        [Required(ErrorMessage = "开卡人真实姓名。")]
        /// <summary>
        ///  分销单信息：开卡人姓名
        /// </summary>
        public string ContactName { get; set; }
        /// <summary>
        ///  分销单信息：办卡人联系电话
        /// </summary>
        public string ContactPhone { get; set; }
        /// <summary>
        ///   分销单信息：办卡 身份证
        /// </summary>
        public string IdentityCard { get; set; }

        /// <summary>
        /// 商品明细
        /// </summary>
        public List<SaleOrderItemDto> Items { get; set; }

    }
}
